package com.guoxin.chapter2.volatiletestthread;

/**
 * @author guoxin
 * @date 2019年8月21日
 */
public class Run {
	public static void main(String[] args) {
		MyThread t = new MyThread();
		t.start();

		MyThread[] myThreads = new MyThread[100];
		for (int i = 0; i < myThreads.length; i++) {
			myThreads[i] = new MyThread();
		}

		for (int i = 0; i < myThreads.length; i++) {
			myThreads[i].start();
		}

	}
}
